
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="../Another/JQuery/jquery1.9.2.min.js"></script>
<script src="../Another/JQuery/jquery_ui.js"></script>
<script src="../Another/JQuery/jquery_zoom.js"></script>
<link rel="stylesheet" type="text/css" href="../Another/Style/jquery-ui.css"/>
<link rel="stylesheet" type="text/css" href="../Another/Style/tabs.css"/>
<link rel="stylesheet" type="text/css" href="../Another/Style/chitiet.css"/>
<?php
	include_once('../MyControl/connection.php');
	$sql="Select * from tintuc 
		order by NgayDangTin
		LIMIT 0,10";
	$result=mysql_query($sql)or die("Cound not select to SanphamDB!".mysql_error($con));
	while($row = mysql_fetch_array($result,MYSQL_ASSOC))
	{
		$MaTinTuc = $row['MaTinTuc'];
		$TieuDe = $row['TieuDe'];
		$HinhThuc = $row['HinhThuc'];
		$NoiDung = $row['NoiDung'];
		$NgayDangTin = $row['NgayDangTin'];
		$GhiChu = $row['GhiChu'];
		$HinhAnh = $row['HinhAnh'];
		echo '</br>';
		echo '<img width="110" height="150" id="zoom_03" src="'.$HinhAnh.'"';
		echo '<a href="#">'.$TieuDe.'</a>';
		echo '</br>';
		echo ''.$HinhThuc.'';
		echo '</br>';
		echo ''.$NgayDangTin.'';
		echo '<a href="../MyModel/TrangTinTuc_con.php?MTT='.$MaTinTuc.'">chi tiết</a>';
	}
?>


